package com.bw.module_home.marketer.adapter

import com.bw.module_home.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.bw.module_home.marketer.model.ResidencyApplicationEntityItem

class ResidencyApplicationAdapter:BaseQuickAdapter<ResidencyApplicationEntityItem,BaseViewHolder>(R.layout.layout_residency_application_item) {
    override fun convert(holder: BaseViewHolder, item: ResidencyApplicationEntityItem) {
        holder.setText(R.id.tv_residency_application_name,"${item.enterpriseName}")
        holder.setText(R.id.tv_residency_application_stock_name,"联系人姓名:   ${item.contactName}")
        holder.setText(R.id.tv_residency_application_phone,"联系人方式:   ${item.contactMethod}")
        holder.setText(R.id.tv_residency_application_area,"申请面积:  ${item.applicationArea}㎡")
    }
}